home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / dynamenu / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.6 KB  |  62 lines

  1. // mainfrm.h
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1999 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. //
  13. // Purpose: interface of the CMainFrame class
  14. //
  15. // Functions:
  16. //   Most of this file was generated by AppWizard.  The functions
  17. //   which contain code specific to this sample are:
  18. //
  19. //      CMainFrame::OnSetMessageString()     -- update status bar text
  20. //
  21. //   These functions are implemented in mainfrm.cpp.
  22.  
  23. class CMainFrame : public CFrameWnd
  24. {
  25. //    DECLARE_DYNAMIC(CMainFrame)
  26.     DECLARE_DYNCREATE(CMainFrame)
  27. public:
  28.     CMainFrame();
  29.  
  30. // Attributes
  31. public:
  32. #if (_WIN32_WCE > 200)
  33.     CCeCommandBar m_wndCommandBar;
  34. #endif
  35.  
  36. // Operations
  37. public:
  38.     void RefreshColorMenu();
  39.  
  40. // Overrides
  41. //protected:
  42. //    virtual void GetMessageString(UINT nID, CString& rMessage) const;
  43.  
  44. // Implementation
  45. public:
  46.     virtual ~CMainFrame();
  47. #ifdef _DEBUG
  48.     virtual void AssertValid() const;
  49.     virtual void Dump(CDumpContext& dc) const;
  50. #endif
  51.  
  52. // Generated message map functions
  53. protected:
  54.     //{{AFX_MSG(CMainFrame)
  55.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  56.     afx_msg LRESULT OnSetMessageString(WPARAM wParam, LPARAM lParam);
  57.     //}}AFX_MSG
  58.     DECLARE_MESSAGE_MAP()
  59. };
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62.